package com.fengycx.feign;
import com.fengycx.constants.Constants;
import com.fengycx.fallback.DriverConfirmFeeApiFallbackFactory;
import com.fengycx.param.DriverSummeryDto;
import com.fengycx.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = Constants.Remote.SERVICE_DRIVER,contextId = "DriverConfirmFeeApi",fallbackFactory = DriverConfirmFeeApiFallbackFactory.class)
public interface DriverConfirmFeeApi {


    @PostMapping("driver/summary/current")
    R<DriverSummeryDto> selectDriverSummary();


}
